package com.ffyc.cms.model;

import org.springframework.stereotype.Component;

import java.util.Date;
@Component
public class Newstype {
    private Integer id;
    private String journame;
    private Admin admin;
    private Date opertime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getJourname() {
        return journame;
    }

    public void setJourname(String journame) {
        this.journame = journame;
    }

    public Admin getAdmin() {
        return admin;
    }

    public void setAdmin(Admin admin) {
        this.admin = admin;
    }

    public Date getOpertime() {
        return opertime;
    }

    public void setOpertime(Date opertime) {
        this.opertime = opertime;
    }

}
